package com.xuexisheqv.auth.application.convert;

import com.xuexisheqv.auth.domain.entity.AuthUserBO;
import com.xuexisheqv.auth.entity.AuthUserDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 用户 DTO 转换器
 */

@Mapper
public interface AuthUserDTOConverter {
    AuthUserDTOConverter INSTANCE = Mappers.getMapper(AuthUserDTOConverter.class);

    AuthUserBO convertDtoToBo(AuthUserDTO authUserDTO);

    AuthUserDTO  convertBoToDTO(AuthUserBO authUserBO);
}
